#ifndef _RUN_BUTTON_
#define _RUN_BUTTON_

#include <wx/panel.h>
#include <wx/button.h>
//*)
class ActionCombination;

class RunButton: public wxPanel
{
public:

	RunButton(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
	virtual ~RunButton();

	void SetActionCom(ActionCombination *p)
	{
		m_pActionCom = p;
	}
	//(*Declarations(NewPanel)
	wxButton* m_pNextBut;
	wxButton* m_pStopBut;
	wxButton* m_pRunBut;
	//*)

protected:

	//(*Identifiers(NewPanel)
	static const long ID_BUTTON1;
	static const long ID_BUTTON2;
	static const long ID_BUTTON3;
	//*)

private:
	ActionCombination *m_pActionCom;
	//(*Handlers(NewPanel)
	void OnRunButClick(wxCommandEvent& event);
	void OnStopButClick(wxCommandEvent& event);
	void OnNextButClick(wxCommandEvent& event);
};

#endif